//
//  Cmspubnews.m
//  HuateVideo
//
//  Created by Tiger on 12-7-12.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "Cmspubnews.h"

@implementation Cmspubnews

@synthesize News_title,News_click_count,News_id;

- (id)initWithCoder:(NSCoder *)decoder {
    self = [super init];
    if(self) {
        self.News_title = [decoder decodeObjectForKey:@"News_title"];
        self.News_click_count = [decoder decodeIntForKey:@"News_click_count"];
        self.News_id = [decoder decodeObjectForKey:@"News_id"];
    }
    return self;
}

- (void)encodeWithCoder:(NSCoder *)encoder {
    [encoder encodeObject:self.News_title forKey:@"News_title"];
    [encoder encodeInt:self.News_click_count forKey:@"News_click_count"];
    [encoder encodeObject:self.News_id forKey:@"News_id"];
}

-(void)dealloc{
    self.News_title = nil;
    self.News_id = nil;
    [super dealloc];
}

@end
